﻿
   <controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d" x:Class="Lottery.Client.SL.Controls.EditPassWord" 
           Style="{StaticResource ChildWindowStyle_ConfirmWindow}" d:DesignHeight="229" d:DesignWidth="375">

    <Grid x:Name="LayoutRoot">
        <Grid x:Name="gridPassWordSet" VerticalAlignment="Top" Height="185">
            <Button x:Name="btnEditPass" Content="提 交" Height="23" HorizontalAlignment="Left" Margin="272,146,0,0" Style="{StaticResource buttonStyle0}" VerticalAlignment="Top" Width="75" Click="btnEditPass_Click" />
            <TextBlock FontSize="12" Foreground="White" Height="24" HorizontalAlignment="Left" Margin="18,12,0,0" Text="旧密码" TextWrapping="Wrap" VerticalAlignment="Top" Width="54" />
            <PasswordBox x:Name="tbOldPassWord" Height="23" Margin="85,11,94,0" VerticalAlignment="Top" />
            <TextBlock FontSize="12" Foreground="White" Height="24" Margin="18,53,287,0" Text="新密码" TextWrapping="Wrap" VerticalAlignment="Top" Width="54" />
            <PasswordBox x:Name="tbPassWord" Height="23" Margin="85,52,94,0" VerticalAlignment="Top" />
            <TextBlock FontSize="12" Foreground="White" Height="24" Margin="19,94,286,0" Text="确认密码" TextWrapping="Wrap" VerticalAlignment="Top" Width="54" />
            <PasswordBox x:Name="tbConfirmPassWord" Height="23" Margin="86,92,94,0" VerticalAlignment="Top" />
        </Grid>
        <Grid x:Name="gridLoading" Grid.RowSpan="3" Background="#FF404040" Visibility="Collapsed">
            <Border x:Name="border_Processing" VerticalAlignment="Center" BorderBrush="White" BorderThickness="1" HorizontalAlignment="Center" Background="#FF323232" CornerRadius="2" Grid.RowSpan="3">
                <StackPanel Margin="5">
                    <TextBlock x:Name="lbWaiting" TextWrapping="Wrap" Foreground="#FFB7B7B7" Margin="5" HorizontalAlignment="Center"/>
                    <ProgressBar x:Name="progressBarLoading" Height="10" Width="200" IsIndeterminate="True"/>
                </StackPanel>
            </Border>
        </Grid>
    </Grid>
    </controls:ChildWindow>
